import request from '@/utils/request'

export function upload(url, data) {
  return request({
    url: url,
    method: 'post',
    // requestBase:'VUE_APP_BUSINESS_API',
    headers: { 'Content-Type': 'multipart/form-data' },
    data
  })
}

export function uploadFile(data) {
  return request({
    url: 'kmpt/biz/uploadFile',
    method: 'post',
    // requestBase:'VUE_APP_BUSINESS_API',
    headers: { 'Content-Type': 'multipart/form-data' },
    data
  })
}
